﻿using Prism.Dragablz.Extensions.Helpers;
using System.ComponentModel;

namespace Prism.Dragablz.Extensions;

public class TabablzProxy
{
    public INotifyPropertyChanged DataContext { get; set; }
    public object View { get; set; }

    public TabablzProxy(object view)
    {
        View = view;
        DataContext = RegionUtility.GetInterfaceFromView<INotifyPropertyChanged>(view);
    }
}
